package com.lcy.springtest;

import com.lcy.springtest.conf.LifeCycleConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author lichenyang
 * @create 2021-04-19 10:15 上午
 */
public class LifeCycleMainTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(LifeCycleConfig.class);
        System.out.println("容器创建完成");

        applicationContext.close();
    }
}
